﻿<link rel="stylesheet" href="http://www.12301.cc/tpl/new_yl/orderDetail/css/index.css"/>
<div class="rtWrap">
    <div class="topBox">
        <p class="title">订单详情</p>
        <div class="listWrap">
            <div class="lt">
                <ul>
                    <li class="ltList">
                        <span class="ltLeader">订单号：</span>
                        <div class="rtCon"><?=$_GET['orderid']?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">订单状态：</span>
                        <div class="rtCon colorGreen"><?=$UUstatus?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">验证时间：</span>
                        <div class="rtCon"><?=$UUdtime?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">下单时间：</span>
                        <div class="rtCon"><?=$UUordertime?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">有效期：</span>
                        <div class="rtCon"><?=$UUbegin_to_end?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">优惠券（ID）：</span>
                        <div class="rtCon"><?=$UUcoupon_name?>（<?=$UUcoupon_id?>）</div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">优惠金额：</span>
                        <div class="rtCon">&yen;<span class="setFont"><?=$UUcoupon_money?></span></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">支付方式：</span>
                        <div class="rtCon"><?=$UUpmode?></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">订单实付金额：</span>
                        <div class="rtCon colorOrange"><span class="setFont"><?=$UUmoney?></span></div>
                    </li>
                    <li class="ltList">
                        <span class="ltLeader">订单备注：</span>
                        <div class="rtCon"><?=$UUmemo?></div>
                    </li>
                </ul>
            </div>
            <div class="rt">
                <ul>
                    <li class="rtList">
                        <span class="ltLeader">凭证号：</span>
                        <div class="rtCon"><?=$UUcode?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">短信发送次数：</span>
                        <div class="rtCon"><?=$UUremsg?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">取票地址：</span>
                        <div class="rtCon"><?=$UUgetaddr?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">取票人（手机号）：</span>
                        <div class="rtCon"><?=$UUname_tel?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">身份证：</span>
                        <div class="rtCon"><?=$UUpersonid?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">座位分区：</span>
                        <div class="rtCon"><?=$UUseries_1?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">座位号：</span>
                        <div class="rtCon"><?=$UUseries_2?></div>
                    </li>

                    <li class="rtList">
                        <span class="ltLeader">供应商/分销商：</span>
                        <div class="rtCon"><?=$UUaids_dname?></div>
                    </li>
                    <li class="rtList">
                        <span class="ltLeader">集合地点：</span>
                        <div class="rtCon"><?=$UUass_station?></div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="tbTicketBox">
            <table class="tbTicket" border="0" cellpadding="0" cellspacing="0">
                <thead>
                  <tr>
                    <th class="setAlign">产品名称</th>
                    <th class="w100">单价</th>
                    <th class="w100">数量</th>
                    <th class="w100">已验证数量</th>
                    <th class="w100">退票手续费</th>
                  </tr>
                </thead>
                <tbody class="tbody">
                <? foreach($ordernum as$k => $v){?>
                  <tr>
                    <td class="setAlign"><?=$UUltitle[$k].$UUttitle[$k].'-'.$UUstatus_child[$k]?></td>
                    <td><?=$UUprice[$k]?></td>
                    <td><?=$UUtnum[$k]?></td>
                    <td><?=$UUtnum_u[$k]?></td>
                    <td class="colorBlue"><?=$UUreb[$k]['show']?></td>
                  </tr>
                <?}?>
                </tbody>
            </table>
        </div>
    </div> 
    <div class="btnBox">
        <?if($buy_more){?>
        <a target="_blank" href="http://www.12301.cc/productOrder.html?pid=<?=$xml->UUpid?>&aid=<?=$buy_more_aid?>">
            <button class="buyBtn">
            再次购买
            </button>
        </a>
        <?}?>
    </div>

<?if($UUmodify){?>
    <div class="editListBox">
        <p class="title">
            <a id="recodeSwitchBtn" class="recodeSwitchBtn" href="javascript:void(0)">
                <span class="t">订单变更记录</span>
                <i class="iconfont up">&#xe695;</i>
                <i class="iconfont down">&#xe673;</i>
            </a>
        </p>
        <div id="recrodTable" class="on">
            <table class="tbTicket" border="0" cellpadding="0" cellspacing="0">
                <thead>
                <tr>
                    <th class="setAlign">操作前</th>
                    <th class="w150">操作后</th>
                    <th class="w100">操作后状态</th>
                    <th class="w100">手续费</th>
                    <th class="w150">时间</th>
                </tr>
                </thead>
                <tbody class="tbody">
                <?foreach($UUmodify as $k => $v){?>
                    <tr>
                        <td class="setAlign"><?=$UUttitle[$k],'*',$v['pre_num']?></td>
                        <td><?=$v['done_num']?></td>
                        <td><?=$v['status']?></td>
                        <td>&yen;<?=$v['reb']?></td>
                        <td><?=$v['rectime']?></td>
                    </tr>
                <?}?>
                </tbody>
            </table>
        </div>

    </div>
<?}?>

</div>
<script type="text/javascript">
    $(function(){

        $("#recodeSwitchBtn").on("click",function(e){
            $(this).toggleClass("on");
            $("#recrodTable").toggleClass("on")
        })

    })
</script>